package se19team1e.entity;

import se19team1e.dao.abstrakt.generics.DataTransferObject;
import se19team1e.util.ReflectionUtils;

/**
 * Represents an advertiser in the system.
 * 
 * @author Palaniappan Vairavan
 *
 */
@SuppressWarnings("serial")
public class AdvertiserDTO implements DataTransferObject<AdvertiserDTO> {

    /**
     * Advertiser object id.
     */
    private String id;
    
    /**
     * Advertiser full name.
     */
    private String fullname;
    
    /**
     * Advertiser address.
     */
    private String address;
    
    /**
     * Advertiser fax number.
     */
    private String faxno;
    
    /**
     * Advertiser email.
     */
    private String email;

    /**
     * Advertiser account id.
     */
    private String accountId;
    
    private boolean deleted;

    /**
     * Sets the new advertiser object id.
     * @param id New advertiser object id.
     */
    public void setId( String id ) {
        this.id = id;
    }

    /**
     * Gets the Advertiser full name.
     * @return Advertiser full name.
     */
    public String getFullname() {
        return fullname;
    }

    /**
     * Sets the new Advertiser full name.
     * @param fullname New Advertiser full name.
     */
    public void setFullname( String fullname ) {
        this.fullname = fullname;
    }

    /**
     * Gets the Advertiser address.
     * @return Advertiser address.
     */
    public String getAddress() {
        return address;
    }

    /**
     * Sets the new Advertiser address.
     * @param address New Advertiser address.
     */
    public void setAddress( String address ) {
        this.address = address;
    }

    /**
     * Gets the Advertiser fax number.
     * @return Advertiser fax number.
     */
    public String getFaxno() {
        return faxno;
    }

    /**
     * Sets the new Advertiser fax number.
     * @param faxno New Advertiser fax number.
     */
    public void setFaxno( String faxno ) {
        this.faxno = faxno;
    }

    /**
     * Gets the Advertiser email.
     * @return Advertiser email.
     */
    public String getEmail() {
        return email;
    }

    /**
     * Sets the new Advertiser email.
     * @param email New Advertiser email.
     */
    public void setEmail( String email ) {
        this.email = email;
    }

    /**
     * Gets the Advertiser account id.
     * @return Advertiser account id.
     */
    public String getAccountId() {
        return accountId;
    }

    /**
     * Sets the new Advertiser account id.
     * @param accountId New Advertiser account id.
     */
    public void setAccountId( String accountId ) {
        this.accountId = accountId;
    }
    
	@Override
	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}
	
	@Override
	public boolean isDeleted() {
		return deleted;
	}

	@Override
	public void setId(Object id) {
		this.id=(String) id;
	}
	
	@Override
	public String getId() {
		return id;
	}

	@Override
	public String toString() {
		return (ReflectionUtils.toString(this));
	}
}
